Many present-day galaxies are known to harbor supermassive, >10^6 Mo, black holes. These central black holes must have grown through accretion from less massive seeds in the early universe. The molecules CO and H2 can be used to trace this young population of accreting massive black holes through the X-ray irradiation of ambient gas. The X-rays drive a low-metallicity ion-molecule chemistry that leads to the formation and excitation of CO and H2 in 10015 and H2 S(0) & S(1) emission is found that allows one to constrain ambient conditions. Comparable line strengths cannot be produced by FUV or cosmic ray irradiation. Weak, but perhaps detectable, H3+ (2,2) - (1,1) emission is found and discussed. The models predict that black hole masses larger than 10^5 Mo can be detected with ALMA, over a redshift range of 5-20, provided that the black holes radiate close to Eddington.